package 构造方法;
//歌手类

public class Singer {
	//成员变量
	private String name;
	private int age;
	private String adrress;
	private String aihao;
	
	//构造方法
	public Singer(String name,int age,String adrress,String aihao)
	{
		this.name = name;
		this.age = age;
		this.adrress = adrress;
		this.aihao = aihao;
	}
	
	//成员方法
	public void show1()
	{
		System.out.println(name+","+age+","+adrress+","+aihao);
	}
	public void show()
	{
		System.out.println("唱功好");
		System.out.println("被称为歌神");
		System.out.println("拿过很多奖");
	}
}
